<?php

namespace app\wechat\controllers;

use app\wechat\core\BaseController;
use app\wechat\interfaces\OrderInterface;
use app\wechat\models\OrderModel;
use cm;

class OrderController extends BaseController implements OrderInterface
{
    /*
    * 购票须知
    */
    function actionBuynotice()
    {
        return (new OrderModel())->actionBuynotice();
    }

    /*
    *退票须知
    */
    function actionRetreatnotice()
    {
    	return (new OrderModel())->actionRetreatnotice();	
    }

    /*
    *分销规则
    */
    function actionRebatenotice()
    {
        return (new OrderModel())->actionRebatenotice();
    }

    /*
    *生成订单
    */
    function actionAddorder()
    {
        return (new OrderModel())->actionAddorder();   
    }

    /*
    *我的订单
    */
    function actionOrderlist()
    {
        return (new OrderModel())->actionOrderlist();   
    }

    /*
    *我的订单
    */
    function actionCancel()
    {
        return (new OrderModel())->actionCancel();   
    }

    /*
    *订单详情
    */
    function actionInfo()
    {
        return (new OrderModel())->actionInfo();   
    }

    /*
    *订单改签审核
    */
    function actionChange()
    {
        return (new OrderModel())->actionChange();   
    }

    /*
    *订单回调
    */
    function actionNotify(){
        return (new OrderModel())->actionNotify();       
    }

    /*
    *待支付支付
    */
    function actionPayorder(){
        return (new OrderModel())->actionPayorder();           
    }

    /*
    *订单退款
    */
    function actionRefund(){
        return (new OrderModel())->actionRefund();               
    }

    /*
    *订单退款回调
    */
    function actionRefundnotify(){
        return (new OrderModel())->actionRefundnotify();                   
    }

    /*
    *后台订单退款回调
    */
    function actionRefundnotify2(){
        return (new OrderModel())->actionRefundnotify2();                   
    }

    /*
    *支付宝开单
    */
    function actionAddaliorder(){
        return (new OrderModel())->actionAddaliorder();       
    }

    /*
    *支付宝待支付支付
    */
    function actionPayaliorder(){
        return (new OrderModel())->actionPayaliorder();           
    }

    /*
    *支付宝回调
    */
    function actionAlinotify(){
        return (new OrderModel())->actionAlinotify();           
    }
}